package com.cynteka.cyfoman.core;

/**
 * User: ukman
 * Date: 18.07.11
 * Time: 15:32
 */
public class UserNameFunction implements Function<String> {
    private String name = "username";

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public String getValue() {
        return System.getProperty("user.name");
    }
}
